<?php $form->setDefaults($filter->array); ?>


<form name="form_filer_docente"
      id="form_filer_docente"
      action="docente/filter"
      method="post"
      class="form-horizontal"> 

<fieldset>
	<legend>Filtro</legend>
		<div class="control-group">
		<label class="control-label" for="filter_nm_docente"><?php echo $form['nm_docente']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nm_docente']->render(
	        		array(
	        			'name' => 'filter[nm_docente]',
	        			'placeholder' => $form['nm_docente']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_ordem"><?php echo $form['nu_ordem']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_ordem']->render(
	        		array(
	        			'name' => 'filter[nu_ordem]',
	        			'placeholder' => $form['nu_ordem']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_matricula"><?php echo $form['nu_matricula']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_matricula']->render(
	        		array(
	        			'name' => 'filter[nu_matricula]',
	        			'placeholder' => $form['nu_matricula']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nm_mae"><?php echo $form['nm_mae']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nm_mae']->render(
	        		array(
	        			'name' => 'filter[nm_mae]',
	        			'placeholder' => $form['nm_mae']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nm_pai"><?php echo $form['nm_pai']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nm_pai']->render(
	        		array(
	        			'name' => 'filter[nm_pai]',
	        			'placeholder' => $form['nm_pai']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nm_conjuge"><?php echo $form['nm_conjuge']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nm_conjuge']->render(
	        		array(
	        			'name' => 'filter[nm_conjuge]',
	        			'placeholder' => $form['nm_conjuge']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_dt_nascimento"><?php echo $form['dt_nascimento']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['dt_nascimento']->render(
	        		array(
	        			'name' => 'filter[dt_nascimento]',
	        			'placeholder' => $form['dt_nascimento']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_sg_nacionalidade"><?php echo $form['sg_nacionalidade']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['sg_nacionalidade']->render(
	        		array(
	        			'name' => 'filter[sg_nacionalidade]',
	        			'placeholder' => $form['sg_nacionalidade']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_sg_estado_civil"><?php echo $form['sg_estado_civil']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['sg_estado_civil']->render(
	        		array(
	        			'name' => 'filter[sg_estado_civil]',
	        			'placeholder' => $form['sg_estado_civil']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nm_cidade_nascimento"><?php echo $form['nm_cidade_nascimento']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nm_cidade_nascimento']->render(
	        		array(
	        			'name' => 'filter[nm_cidade_nascimento]',
	        			'placeholder' => $form['nm_cidade_nascimento']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_sg_uf_nascimento"><?php echo $form['sg_uf_nascimento']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['sg_uf_nascimento']->render(
	        		array(
	        			'name' => 'filter[sg_uf_nascimento]',
	        			'placeholder' => $form['sg_uf_nascimento']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_ci"><?php echo $form['nu_ci']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_ci']->render(
	        		array(
	        			'name' => 'filter[nu_ci]',
	        			'placeholder' => $form['nu_ci']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_ds_ci_orgao_emissor"><?php echo $form['ds_ci_orgao_emissor']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['ds_ci_orgao_emissor']->render(
	        		array(
	        			'name' => 'filter[ds_ci_orgao_emissor]',
	        			'placeholder' => $form['ds_ci_orgao_emissor']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_sg_ci_uf"><?php echo $form['sg_ci_uf']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['sg_ci_uf']->render(
	        		array(
	        			'name' => 'filter[sg_ci_uf]',
	        			'placeholder' => $form['sg_ci_uf']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_ctps"><?php echo $form['nu_ctps']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_ctps']->render(
	        		array(
	        			'name' => 'filter[nu_ctps]',
	        			'placeholder' => $form['nu_ctps']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_ctps_serie"><?php echo $form['nu_ctps_serie']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_ctps_serie']->render(
	        		array(
	        			'name' => 'filter[nu_ctps_serie]',
	        			'placeholder' => $form['nu_ctps_serie']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_reservista"><?php echo $form['nu_reservista']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_reservista']->render(
	        		array(
	        			'name' => 'filter[nu_reservista]',
	        			'placeholder' => $form['nu_reservista']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_reservista_categoria"><?php echo $form['nu_reservista_categoria']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_reservista_categoria']->render(
	        		array(
	        			'name' => 'filter[nu_reservista_categoria]',
	        			'placeholder' => $form['nu_reservista_categoria']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_cpf"><?php echo $form['nu_cpf']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_cpf']->render(
	        		array(
	        			'name' => 'filter[nu_cpf]',
	        			'placeholder' => $form['nu_cpf']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_ds_endereco"><?php echo $form['ds_endereco']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['ds_endereco']->render(
	        		array(
	        			'name' => 'filter[ds_endereco]',
	        			'placeholder' => $form['ds_endereco']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_sg_endereco_uf"><?php echo $form['sg_endereco_uf']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['sg_endereco_uf']->render(
	        		array(
	        			'name' => 'filter[sg_endereco_uf]',
	        			'placeholder' => $form['sg_endereco_uf']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_endereco_cep"><?php echo $form['nu_endereco_cep']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_endereco_cep']->render(
	        		array(
	        			'name' => 'filter[nu_endereco_cep]',
	        			'placeholder' => $form['nu_endereco_cep']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_dt_admissao"><?php echo $form['dt_admissao']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['dt_admissao']->render(
	        		array(
	        			'name' => 'filter[dt_admissao]',
	        			'placeholder' => $form['dt_admissao']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_dt_demissao"><?php echo $form['dt_demissao']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['dt_demissao']->render(
	        		array(
	        			'name' => 'filter[dt_demissao]',
	        			'placeholder' => $form['dt_demissao']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_ds_cargo"><?php echo $form['ds_cargo']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['ds_cargo']->render(
	        		array(
	        			'name' => 'filter[ds_cargo]',
	        			'placeholder' => $form['ds_cargo']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_salario"><?php echo $form['nu_salario']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_salario']->render(
	        		array(
	        			'name' => 'filter[nu_salario]',
	        			'placeholder' => $form['nu_salario']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_ds_forma_pagamento"><?php echo $form['ds_forma_pagamento']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['ds_forma_pagamento']->render(
	        		array(
	        			'name' => 'filter[ds_forma_pagamento]',
	        			'placeholder' => $form['ds_forma_pagamento']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_nu_pis"><?php echo $form['nu_pis']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['nu_pis']->render(
	        		array(
	        			'name' => 'filter[nu_pis]',
	        			'placeholder' => $form['nu_pis']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_dt_pis_cadastro"><?php echo $form['dt_pis_cadastro']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['dt_pis_cadastro']->render(
	        		array(
	        			'name' => 'filter[dt_pis_cadastro]',
	        			'placeholder' => $form['dt_pis_cadastro']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_hr_entrada"><?php echo $form['hr_entrada']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['hr_entrada']->render(
	        		array(
	        			'name' => 'filter[hr_entrada]',
	        			'placeholder' => $form['hr_entrada']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_hr_saida"><?php echo $form['hr_saida']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['hr_saida']->render(
	        		array(
	        			'name' => 'filter[hr_saida]',
	        			'placeholder' => $form['hr_saida']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_st_docente"><?php echo $form['st_docente']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['st_docente']->render(
	        		array(
	        			'name' => 'filter[st_docente]',
	        			'placeholder' => $form['st_docente']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_created_at"><?php echo $form['created_at']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['created_at']->render(
	        		array(
	        			'name' => 'filter[created_at]',
	        			'placeholder' => $form['created_at']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
		<div class="control-group">
		<label class="control-label" for="filter_updated_at"><?php echo $form['updated_at']->getWidget()->getLabel() ?></label>
		<div class="controls">
			<?php
	        	echo $form['updated_at']->render(
	        		array(
	        			'name' => 'filter[updated_at]',
	        			'placeholder' => $form['updated_at']->getWidget()->getLabel()
	        		)
	        	)
	        ?>
		</div>
	</div>
	</fieldset>

<div class="form-actions">
	<button class="btn btn-primary" type="submit">Filtrar</button>
	<?php
    	echo link_to(
    		':: Limpar ::',
    		$sf_context->getModuleName().'/filter',
    		array('class'=>'btn')
    	);
	?>
</div>

</form>